You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http_request_randomizer.requests.errors.ProxyListException.ProxyListException: list is empty
-> FreeProxyParser.py: html parsing is list error. (now solved.)
Thanks for the PR @alsrua7222 !
Tested locally and fixes both PremProxyParser by adding headers on the requests as #74 and FreeProxyParser by updating the attributes.
Can you please fix test_FreeProxyParser so we can merge this? I believe a simple update on free_proxy_mock is needed.
I didn't know if it was updated or not.
It's already been updated.
I wasted my time.
However, libraries help a lot with proxies. thank you.
After an error, when I traced back, the html parsing structure was changed.
Also, I wanted to point out that "headers" should be added to the library.
As you said, we simply updated the html table structure of free_proxy_list.net.
Is it correct to do this?
I didn't know if it was updated or not. It's already been updated. I wasted my time. However, libraries help a lot with proxies. thank you. After an error, when I traced back, the html parsing structure was changed. Also, I wanted to point out that "headers" should be added to the library.
As you said, we simply updated the html table structure of free_proxy_list.net. Is it correct to do this?
Hey @alsrua7222 thanks for updating the PR!
The new html table structure is fine but since you used different proxy exmamples the assertion of the Test should also be fixed.
E AssertionError: Lists differ: ['58.234.116.197:8193', '20.122.24.225:80',[40 chars]080'] != ['138.197.136.46:3128', '177.207.75.227:8080']
E
E First differing element 0:
E '58.234.116.197:8193'
E '138.197.136.46:3128'
E
E First list contains 2 additional elements.
E First extra element 2:
E '154.236.177.100:1981'
E
E + ['138.197.136.46:3128', '177.207.75.227:8080']
E - ['58.234.116.197:8193',
E - '20.122.24.225:80',
E - '154.236.177.100:1981',
E - '54.37.160.92:1080']
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
http_request_randomizer.requests.errors.ProxyListException.ProxyListException: list is empty
-> FreeProxyParser.py: html parsing is list error. (now solved.)
reqeusts.exceptions.InvalidURL: Failed to parse: http://(ip):(port) | FreeProxy
-> UnPack.py: headers add
-> PremProxyParser.py: headers add